package zy1219.zy6;

import org.apache.commons.beanutils.BeanUtils;

import java.lang.reflect.InvocationTargetException;
import java.util.Map;

public class MyBeanUtils {
    public static void populate(Object obj, Map<String,String[]> map) throws InvocationTargetException, IllegalAccessException {
        BeanUtils.populate(obj,map);
        System.out.println(obj);
    }
}
